<extend name="userHome" />
<block name="userHomeRight">
    <div class="panel panel-default panel-share">
        <div class="panel-heading panel-share-heading">
            <span><{$userHomeRow[0]['username']}> 的所有记录</span>
            <a href="__CONTROLLER__/newNote/" class="btn btn-warning btn-xs pull-right" data-ajax="false" ><font><small>添加新记录</small></font></a>
        </div>
        <if condition="$userNoteFlag eq 1">
            <div class=" list-group  share-list">
                <volist name="userNoteRows" id="vo">
                    <li id="#<{$vo.noteid}>" class="list-group-item <{$vo.noteid}>" onmouseover="shareListHover('.<{$vo.noteid}>');" onmouseout="shareListHoverOut('.<{$vo.noteid}>');">
                        <a href="__CONTROLLER__/noteShareInfo/id/<{$vo.noteid}>/">
                            <img src="__PUBLIC__/uploads/markerimage/src/<{$vo.imgsrc}>" alt="<{$vo.notename}>">
                        </a>
                        <a href="__CONTROLLER__/noteShareInfo/id/<{$vo.noteid}>" class="media-heading"><font><{$vo.notename}></font></a>
                        <hr>
                          <h4><small><i class="fa fa-file-o"></i>  时间：<{$vo.notetime}> </small></h4>
                          <h4><small><i class="fa fa-comment-o"></i>  讨论：<{$vo.notediscusscount}></small></h4>
                          <h4><small><i class="fa fa-heart-o"></i>  收藏：<{$vo.notecollectcount}></small></h4>  
                          <h4><small><if condition="$vo.isshare eq 1">
                                    <i class="fa fa-share"></i>&nbsp;&nbsp;已分享
                                  </if>
                           </small></h4>  
                    </li>
                </volist>
            </div>

        <div class="panel-footer">
            <ul class="pagination">
              <li> <{$show}></li>
           </ul>
        </div>
        <else />
        <div class="panel-body">
            <div >
                <h2 class="text-center"><i class="fa fa-warning"></i></h2>
              <h2 class="text-center">暂无任何记录</h2>
            </div>
        </div>
        </if>
    </div>
</block>